<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>循环遍历复杂集合</title>
</head>
<body>
<h2>循环遍历复杂集合</h2>
<!--
  list——>map——>list1——>User
-->
<div th:each="list:${list}">
    <div th:each="map:${list}">
        Map集合的key：<span th:text="${map.key}"></span>
        <div th:each="list1:${map.value}">
            <span th:text="${list1.id}"></span>
            <span th:text="${list1.nick}"></span>
            <span th:text="${list1.phone}"></span>
            <span th:text="${list1.address}"></span>
        </div>
    </div>
</div>

</body>
</html>